package com.homework.module4part3.entity;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import java.util.Date;

@Document("lg_resume_datas")
public class Resume {
    @Id
    private String id;
    private Long resumeid;
    private String name;
    private String city;
    private double salary;

    @Override
    public String toString() {
        return "ResumeSnapshot{" +
                "id='" + id + '\'' +
                ", resumeid='" + resumeid + '\'' +
                ", name='" + name + '\'' +
                ", city='" + city + '\'' +
                ", expectSalary=" + salary +
                '}';
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public double getSalary() {
        return salary;
    }

    public void setSalary(double es) {
        this.salary = es;
    }

    public Long getResumeid() {
        return resumeid;
    }

    public void setResumeid(Long resumeid) {
        this.resumeid = resumeid;
    }

}
